<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header"); ?>
<div class="nybanner">
<img src="<?php echo IMG_PATH;?>nybanner.jpg">
</div>
<div class="topmenu-box">
    <div class="common-width">
        <div class="topmenu">
            <div class="topmenu-l">
                <ul>
                    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=c69c1434a63523ec9b6e7d0e02518c58&action=category&siteid=1&catid=9\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('siteid'=>'1','catid'=>'9','limit'=>'20',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                    <?php $n=1;if(is_array($data)) foreach($data AS $about) { ?>
                    <?php if($catid==$about['catid']) { ?>
                        <li class="gaoliang"><a href="<?php echo $about['url'];?>"><?php echo $about['catname'];?></a></li>
                    <?php } else { ?>
                        <li><a href="<?php echo $about['url'];?>"><?php echo $about['catname'];?></a></li>
                    <?php } ?>
                    <?php $n++;}unset($n); ?>
                </ul>
            </div>
            <div class="topmenu-r">
                <span>当前位置：</span><a href="<?php echo siteurl($siteid);?>" title="">首页</a> <i> - </i> <a href="?m=content&c=index&a=lists&catid=9">关于我们</a> <i> - </i> <em>公司风采</em>
            </div>
        </div>
    </div>
</div>

<div class="honor-box">
    <div class="common-width">
        <div class="honor wow fadeInUp">
        
        	<div id="n_shebei">
                <ul class="gallery">
                    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=216bea3055ce23ccf340eb7ddcbedca6&sql=select+%2A+from+picture+where+catid%3D%24catid&num=8&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$pagesize = 8;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$r = $get_db->sql_query("SELECT COUNT(*) as count FROM (select * from picture where catid=$catid) T");$s = $get_db->fetch_next();$pages=pages($s['count'], $page, $pagesize, $urlrule);$r = $get_db->sql_query("select * from picture where catid=$catid LIMIT $offset,$pagesize");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$data = $a;unset($a);?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                    <?php $n=1;if(is_array($data)) foreach($data AS $show) { ?>
                        <li>
                            <a href="<?php echo $show['thumb'];?>" title="" >
                            <div class="pic_box">
                            <div class="box"><img src="<?php echo $show['thumb'];?>" alt="" /></div>
                            </div>
                            <span><?php echo $show['title'];?></span>
                            </a>
                        </li>
                    <?php $n++;}unset($n); ?>
                <div class="clear"></div>
                </ul>
            <div class="clear"></div>
           </div>
            <div class="page" id="pages">
                <div class="box"><?php echo $pages;?></div>
            </div>
		   <script type="text/javascript" src="<?php echo JS_PATH;?>zoom.js"></script>
        </div>
    </div>
</div>
<?php include template("content","footer"); ?>